plot(x_meanShip)
hold on
plot([101:200],x_meanNShip,'r')
plot([201:300],x_meanShip,'b')
plot([100:101],[x_meanShip(end),x_meanNShip(1)],'g')
plot([200:201],[x_meanNShip(end),x_meanShip(1)],'g')

ylim([-0.3 -0.1])
%%
plot(s_knee)
hold on
plot([101:200],ns_knee,'r')
plot([201:300],s_knee,'b')

%%
plot([100:101],[x_meanShip(end),x_meanNShip(1)],'g')
plot([200:201],[x_meanNShip(end),x_meanShip(1)],'g')